package fr.cnam.projetSiw.client.structure.pages;

import com.google.gwt.event.shared.EventBus;
import com.google.gwt.user.client.ui.AcceptsOneWidget;

import fr.cnam.projetSiw.client.core.ClientFactory;
import fr.cnam.projetSiw.client.core.ZicActivity;

public class MenuActivity extends ZicActivity implements MenuView.Presenter
{

	public MenuActivity(ClientFactory clientFactory)
	{
		super(clientFactory);
	}

	@Override
	public void start(AcceptsOneWidget panel, EventBus eventBus)
	{
		final MenuView view = clientFactory.getMenuView();	
		view.setPresenter(this);
		panel.setWidget(view);

	}

}
